package demo5;

import org.springframework.stereotype.Component;

@Component
public class Sweater /*implements Clothes*/{
    public void wear(){
        System.out.println("穿毛衣");
    }
}
